<%@ include file="shared_header.jsp" %>
<%@ page import="vrp.SOrder" %>
<%@ page import="vrp.SOrderItem" %>

<%
	SimpleDateFormat sdf = new SimpleDateFormat ("yyyy-MM-dd");
	PersistenceManager pm = PMF.get().getPersistenceManager();
	String query = "";
%>

<%
	query = "select from " + SOrder.class.getName();
    List<SOrder> sorders = (List<SOrder>) pm.newQuery(query).execute();
    
    for (SOrder o : sorders) {
    	pm.deletePersistent(o);
    }
%>

Hello

<%
    pm.close();
%>

<%@ include file="shared_footer.jsp" %>